#root {
  max-width: none;
  margin: 0;
  padding: 0;
  text-align: left;
}

.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.react:hover {
  filter: drop-shadow(0 0 2em #61dafbaa);
}

@keyframes logo-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: no-preference) {
  a:nth-of-type(2) .logo {
    animation: logo-spin infinite 20s linear;
  }
}

.card {
  padding: 2em;
}

.read-the-docs {
  color: #888;
}

/* FontAwesome图标支持 */
.fas {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

/* 全局样式 */
.min-h-screen {
  min-height: 100vh;
}

.bg-white {
  background-color: #ffffff;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.flex-1 {
  flex: 1 1 0%;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-around {
  justify-content: space-around;
}

.justify-end {
  justify-content: flex-end;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-blue-500 {
  color: #3b82f6;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.border-b {
  border-bottom-width: 1px;
}

.border-blue-500 {
  border-color: #3b82f6;
}

.h-16 {
  height: 4rem;
}

.h-full {
  height: 100%;
}

.p-6 {
  padding: 1.5rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.w-64 {
  width: 16rem;
}

.w-full {
  width: 100%;
}

.h-\[500px\] {
  height: 500px;
}

.h-\[400px\] {
  height: 400px;
}

.overflow-auto {
  overflow: auto;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.cursor-pointer {
  cursor: pointer;
}

.space-y-4 > * + * {
  margin-top: 1rem;
}

.grid {
  display: grid;
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gap-2 {
  gap: 0.5rem;
}

.gap-4 {
  gap: 1rem;
}

.float-right {
  float: right;
}

/* 添加!rounded-button类的替代方案 */
.rounded-button-special {
  border-radius: 0.375rem !important;
}

/* 响应式布局支持 */
@media (max-width: 1200px) {
  .h-\[500px\] {
    height: 450px;
  }
  
  .h-\[400px\] {
    height: 350px;
  }
}

@media (max-width: 992px) {
  .ant-col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .ant-col-lg-8 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .ant-col-lg-16 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .h-\[500px\] {
    height: 400px;
  }
  
  .h-\[400px\] {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .ant-col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .p-6 {
    padding: 1rem;
  }
  
  .h-\[500px\] {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .ant-col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  
  .h-16 {
    height: 3.5rem;
  }
}
